package com.opencee.cloud.core.security;

import com.opencee.common.security.SecurityConstants;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * rest接口配置
 *
 * @author yadu
 */
@Data
@ConfigurationProperties("security")
public class SecurityProperties {
    /**
     * jwt签名密钥
     */
    private String jwtSigningKey = SecurityConstants.DEFAULT_JWT_SIGN_KEY;
    /**
     * jwt私有信息aes密钥
     */
    private String jwtClaimsAesKey = SecurityConstants.DEFAULT_JWT_CLAIMS_AES_KEY;

}
